package com.chefu.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.chefu.common.pojo.PageResult;
import com.chefu.system.pojo.Emp;
import com.chefu.system.vo.EmpVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author goodgoodstudy
 * @since 2021-03-30
 */
public interface EmpService extends IService<Emp> {

    List<EmpVo> findByPage(Integer page, Integer pageSize, String name, String phone, String email,Long deptId,Integer status);

    void insert(EmpVo empVo);


    EmpVo findById(Long id);

    void updateDept(Emp emp);

    void updateStatus(Long empId,Integer status);
}
